Пример #1
0
 byte[] IEncryptor.Encrypt(byte[] password, byte[] buffer)
 {
     return(DESCrypto.Encrypt(password, buffer));
 }
Пример #2
0
 byte[] IEncryptor.Encrypt(string password, string text, Encoding encodingType)
 {
     return(DESCrypto.Encrypt(password, text, encodingType));
 }
Пример #3
0
 void IEncryptor.Encrypt(string password, string filePath)
 {
     DESCrypto.Encrypt(password, filePath);
 }
Пример #4
0
 byte[] IEncryptor.Encrypt(string password, byte[] buffer)
 {
     return(DESCrypto.Encrypt(Encoding.UTF8.GetBytes(password), buffer));
 }