OpenRA.FileFormats.Blowfish.Decrypt C# (CSharp) Méthode

Decrypt() public méthode

public Decrypt ( uint data ) : uint[]
data uint
Résultat uint[]
        public uint[] Decrypt(uint[] data)
        {
            return RunCipher(data, Decrypt);
        }

Same methods

Blowfish::Decrypt ( uint &a, uint &b ) : void

Usage Example

Exemple #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);
        }
All Usage Examples Of OpenRA.FileFormats.Blowfish::Decrypt