Exemplo n.º 1
0
 /// <summary>
 /// Default constructor.  Uses a SHA256 Hash for OAEP hash calculation.
 /// This PaddingProvider provides added security to message padding,
 /// however it requires the data to be encrypted to be shorter and
 /// is not compatible with the RSACryptoServiceProvider's implementation
 /// of OAEP.
 /// </summary>
 public OAEP256()
 {
     m_OAEP = new OAEP(new SHA256(), 32);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Default constructor.  Uses a SHA256 Hash for OAEP hash calculation.
 /// This PaddingProvider provides added security to message padding, 
 /// however it requires the data to be encrypted to be shorter and 
 /// is not compatible with the RSACryptoServiceProvider's implementation 
 /// of OAEP.
 /// </summary>
 public OAEP256()
 {
     m_OAEP = new OAEP(new SHA256(), 32);
 }