mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO. * Rijndael.cs: Create using CryptoConfig. Removed TODO. * RSAParameters.cs: Modulus must be serialized. Removed TODO. * SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO. * SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO. * SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO. * FromBase64Transform.cs: Removed ToString() * ToBase64Transform.cs: Removed ToString() * SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and Padding, added Clear, Dispose * TripleDES.cs: New. Abstract class. * MaskGenerationMethod.cs: New. Abstract class. * PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not compatible with MS implementation - but not sure the bug is mine!). svn path=/trunk/mcs/; revision=8254
23 lines
428 B
C#
23 lines
428 B
C#
//
|
|
// MaskGenerationMethod.cs: Handles mask generation.
|
|
//
|
|
// Author:
|
|
// Sebastien Pouliot ([email protected])
|
|
//
|
|
// (C) 2002 Motus Technologies Inc. (http://www.motus.com)
|
|
//
|
|
|
|
using System;
|
|
using System.Security.Cryptography;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
|
|
public abstract class MaskGenerationMethod
|
|
{
|
|
protected MaskGenerationMethod () {}
|
|
|
|
public abstract byte[] GenerateMask (byte[] rgbSeed, int cbReturn);
|
|
}
|
|
|
|
} |