C# 클래스 System.EncryptionUtils

파일 보기 프로젝트 열기: sapiens/cavemantools

공개 메소드들

메소드 설명
Decrypt ( this data, byte key ) : byte[]

Decrypts bytes encrypted with AES 256

DecryptAsString ( this data, string key ) : string

Returns decrypted data from Base64 string

Encrypt ( this data, byte key ) : byte[]

Encrypts using AES (Rijndael) standard using a 256 bit key

Encrypt ( this data, string key ) : string

Aes encryption

메소드 상세

Decrypt() 공개 정적인 메소드

Decrypts bytes encrypted with AES 256
public static Decrypt ( this data, byte key ) : byte[]
data this
key byte 256bit key
리턴 byte[]

DecryptAsString() 공개 정적인 메소드

Returns decrypted data from Base64 string
public static DecryptAsString ( this data, string key ) : string
data this Base 64 encoded encryption
key string Salt of 16 chars
리턴 string

Encrypt() 공개 정적인 메소드

Encrypts using AES (Rijndael) standard using a 256 bit key
public static Encrypt ( this data, byte key ) : byte[]
data this
key byte
리턴 byte[]

Encrypt() 공개 정적인 메소드

Aes encryption
public static Encrypt ( this data, string key ) : string
data this
key string
리턴 string