C# 클래스 Yodiwo.Cryptography.CryptoEngine

파일 보기 프로젝트 열기: yodiwo/plegma

공개 메소드들

메소드 설명
ComputeHash ( Windows.Storage.Streams.IBuffer data ) : byte[]
ComputeHash ( byte data ) : byte[]
ComputeHash ( string data ) : byte[]
CreateKey ( String strPassword, byte strSalt, UInt32 iterationCount = 10000, String AlgorithmName = null ) : CryptographicKey
Decrypt ( Windows.Storage.Streams.IBuffer encBuffer, CryptographicKey key, Windows.Storage.Streams.IBuffer iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer
DecryptString ( Windows.Storage.Streams.IBuffer encBuffer, CryptographicKey key, Windows.Storage.Streams.IBuffer iv, String AlgorithmName = null ) : string
Encrypt ( Windows.Storage.Streams.IBuffer data, CryptographicKey key, Windows.Storage.Streams.IBuffer &iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer
EncryptString ( String strMsg, CryptographicKey key, Windows.Storage.Streams.IBuffer &iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer

메소드 상세

ComputeHash() 공개 정적인 메소드

public static ComputeHash ( Windows.Storage.Streams.IBuffer data ) : byte[]
data Windows.Storage.Streams.IBuffer
리턴 byte[]

ComputeHash() 공개 정적인 메소드

public static ComputeHash ( byte data ) : byte[]
data byte
리턴 byte[]

ComputeHash() 공개 정적인 메소드

public static ComputeHash ( string data ) : byte[]
data string
리턴 byte[]

CreateKey() 공개 정적인 메소드

public static CreateKey ( String strPassword, byte strSalt, UInt32 iterationCount = 10000, String AlgorithmName = null ) : CryptographicKey
strPassword String
strSalt byte
iterationCount System.UInt32
AlgorithmName String
리턴 Windows.Security.Cryptography.Core.CryptographicKey

Decrypt() 공개 정적인 메소드

public static Decrypt ( Windows.Storage.Streams.IBuffer encBuffer, CryptographicKey key, Windows.Storage.Streams.IBuffer iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer
encBuffer Windows.Storage.Streams.IBuffer
key Windows.Security.Cryptography.Core.CryptographicKey
iv Windows.Storage.Streams.IBuffer
AlgorithmName String
리턴 Windows.Storage.Streams.IBuffer

DecryptString() 공개 정적인 메소드

public static DecryptString ( Windows.Storage.Streams.IBuffer encBuffer, CryptographicKey key, Windows.Storage.Streams.IBuffer iv, String AlgorithmName = null ) : string
encBuffer Windows.Storage.Streams.IBuffer
key Windows.Security.Cryptography.Core.CryptographicKey
iv Windows.Storage.Streams.IBuffer
AlgorithmName String
리턴 string

Encrypt() 공개 정적인 메소드

public static Encrypt ( Windows.Storage.Streams.IBuffer data, CryptographicKey key, Windows.Storage.Streams.IBuffer &iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer
data Windows.Storage.Streams.IBuffer
key Windows.Security.Cryptography.Core.CryptographicKey
iv Windows.Storage.Streams.IBuffer
AlgorithmName String
리턴 Windows.Storage.Streams.IBuffer

EncryptString() 공개 정적인 메소드

public static EncryptString ( String strMsg, CryptographicKey key, Windows.Storage.Streams.IBuffer &iv, String AlgorithmName = null ) : Windows.Storage.Streams.IBuffer
strMsg String
key Windows.Security.Cryptography.Core.CryptographicKey
iv Windows.Storage.Streams.IBuffer
AlgorithmName String
리턴 Windows.Storage.Streams.IBuffer