Decrypt() public method

public Decrypt ( uint data ) : uint[]
data uint
return uint[]
Beispiel #1
0
        static MemoryStream Decrypt(uint[] h, Blowfish fish)
        {
            uint[] decrypted = fish.Decrypt(h);

            MemoryStream ms     = new MemoryStream();
            BinaryWriter writer = new BinaryWriter(ms);

            foreach (uint t in decrypted)
            {
                writer.Write(t);
            }
            writer.Flush();

            ms.Position = 0;
            return(ms);
        }
Beispiel #2
0
        static MemoryStream Decrypt(uint[] h, Blowfish fish)
        {
            var decrypted = fish.Decrypt(h);

            var ms     = new MemoryStream();
            var writer = new BinaryWriter(ms);

            foreach (var t in decrypted)
            {
                writer.Write(t);
            }
            writer.Flush();

            ms.Seek(0, SeekOrigin.Begin);
            return(ms);
        }
Beispiel #3
0
        static MemoryStream Decrypt( uint[] h, Blowfish fish )
        {
            uint[] decrypted = fish.Decrypt( h );

            MemoryStream ms = new MemoryStream();
            BinaryWriter writer = new BinaryWriter( ms );
            foreach( uint t in decrypted )
                writer.Write( t );
            writer.Flush();

            ms.Position = 0;
            return ms;
        }
Beispiel #4
0
        static MemoryStream Decrypt(uint[] h, Blowfish fish)
        {
            var decrypted = fish.Decrypt(h);

            var ms = new MemoryStream();
            var writer = new BinaryWriter(ms);
            foreach(var t in decrypted)
                writer.Write(t);
            writer.Flush();

            ms.Seek(0, SeekOrigin.Begin);
            return ms;
        }