Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PaddingMode.cs « System.Security.Cryptography « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f3fa793a4353fb2ef2737e22d48c4ff688f9c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// System.Security.Cryptography PaddingMode enumeration
//
// Authors:
//   Matthew S. Ford (Matthew.S.Ford@Rose-Hulman.Edu)
//
// Copyright 2001 by Matthew S. Ford.
//


namespace System.Security.Cryptography {
	
	/// <summary>
	/// How to pad the message processed by block ciphers when they don't come out to the being the size of the block.
	/// </summary>
	public enum PaddingMode {
		None = 0x1,
		PKCS7, // Each byte contains the value of the number of padding bytes.
		Zeros  // Append zeros to the message.
	}
}