Interface ICryptoUtil
- Namespace
- Amazon.Util
- Assembly
- AWSSDK.Core.dll
public interface ICryptoUtil
Methods
ComputeCRC32CHash(byte[])
string ComputeCRC32CHash(byte[] data)
Parameters
data
byte[]
Returns
- string
ComputeCRC32Hash(byte[])
string ComputeCRC32Hash(byte[] data)
Parameters
data
byte[]
Returns
- string
ComputeMD5Hash(byte[])
byte[] ComputeMD5Hash(byte[] data)
Parameters
data
byte[]
Returns
- byte[]
ComputeMD5Hash(Stream)
byte[] ComputeMD5Hash(Stream steam)
Parameters
steam
Stream
Returns
- byte[]
ComputeSHA1Hash(byte[])
byte[] ComputeSHA1Hash(byte[] data)
Parameters
data
byte[]
Returns
- byte[]
ComputeSHA256Hash(byte[])
byte[] ComputeSHA256Hash(byte[] data)
Parameters
data
byte[]
Returns
- byte[]
ComputeSHA256Hash(Stream)
byte[] ComputeSHA256Hash(Stream steam)
Parameters
steam
Stream
Returns
- byte[]
HMACSign(byte[], string, SigningAlgorithm)
string HMACSign(byte[] data, string key, SigningAlgorithm algorithmName)
Parameters
data
byte[]
key
string
algorithmName
SigningAlgorithm
Returns
- string
HMACSign(string, string, SigningAlgorithm)
string HMACSign(string data, string key, SigningAlgorithm algorithmName)
Parameters
data
string
key
string
algorithmName
SigningAlgorithm
Returns
- string
HMACSignBinary(byte[], byte[], SigningAlgorithm)
byte[] HMACSignBinary(byte[] data, byte[] key, SigningAlgorithm algorithmName)
Parameters
data
byte[]
key
byte[]
algorithmName
SigningAlgorithm
Returns
- byte[]