C# Class mobSocial.Data.Helpers.SimpleEncryptor

ファイルを表示 Open project: mobsoftware/mobsocial

Public Methods

Method Description
ByteArrToString ( byte byteArr ) : string
Decrypt ( byte encryptedValue ) : string
DecryptString ( string encryptedString ) : string
Encrypt ( string textValue ) : byte[]
EncryptToString ( string textValue ) : string
GenerateEncryptionKey ( ) : byte[]
GenerateEncryptionVector ( ) : byte[]
SimpleEncryptor ( ) : System
StrToByteArray ( string str ) : byte[]

Method Details

ByteArrToString() public method

public ByteArrToString ( byte byteArr ) : string
byteArr byte
return string

Decrypt() public method

public Decrypt ( byte encryptedValue ) : string
encryptedValue byte
return string

DecryptString() public method

public DecryptString ( string encryptedString ) : string
encryptedString string
return string

Encrypt() public method

public Encrypt ( string textValue ) : byte[]
textValue string
return byte[]

EncryptToString() public method

public EncryptToString ( string textValue ) : string
textValue string
return string

GenerateEncryptionKey() public static method

public static GenerateEncryptionKey ( ) : byte[]
return byte[]

GenerateEncryptionVector() public static method

public static GenerateEncryptionVector ( ) : byte[]
return byte[]

SimpleEncryptor() public method

public SimpleEncryptor ( ) : System
return System

StrToByteArray() public method

public StrToByteArray ( string str ) : byte[]
str string
return byte[]