C# Class RNCryptor.Encryptor

Inheritance: RNCryptor.Cryptor
Afficher le fichier Open project: RNCryptor/RNCryptor-cs

Méthodes publiques

Méthode Description
Encrypt ( string plaintext, string password ) : string
Encrypt ( string plaintext, string password, Schema schemaVersion ) : string

Private Methods

Méthode Description
encryptAesCbcPkcs7 ( byte plaintext, byte key, byte iv ) : byte[]
generateRandomBytes ( int length ) : byte[]

Method Details

Encrypt() public méthode

public Encrypt ( string plaintext, string password ) : string
plaintext string
password string
Résultat string

Encrypt() public méthode

public Encrypt ( string plaintext, string password, Schema schemaVersion ) : string
plaintext string
password string
schemaVersion Schema
Résultat string