MessageDigest
Overview
Location
- Reference: Sugar
- Namespace: Sugar.Cryptography
constructor
constructor(Algorithm: DigestAlgorithm)
MessageDigest(DigestAlgorithm Algorithm)
init(_ Algorithm: DigestAlgorithm)
MessageDigest(DigestAlgorithm Algorithm)
Sub New(Algorithm As DigestAlgorithm)
Parameters:
- Algorithm:
ComputeHash
class method ComputeHash(Data: array of Byte; Algorithm: DigestAlgorithm): array of Byte
static Byte[] ComputeHash(Byte[] Data, DigestAlgorithm Algorithm)
static func ComputeHash(_ Data: Byte..., _ Algorithm: DigestAlgorithm) -> Byte...
static Byte[] ComputeHash(Byte[] Data, DigestAlgorithm Algorithm)
Shared Function ComputeHash(Data As Byte(), Algorithm As DigestAlgorithm) As Byte()
Parameters:
- Data:
- Algorithm:
Parameters:
- Data:
Parameters:
- Data:
- Count:
Parameters:
- Data:
- Offset:
- Count:
Reset mapped
method Reset
void Reset()
func Reset()
void Reset()
Sub Reset()
Update (array of Byte) mapped
method Update(Data: array of Byte)
void Update(Byte[] Data)
func Update(_ Data: Byte...)
void Update(Byte[] Data)
Sub Update(Data As Byte())
Parameters:
- Data:
Parameters:
- Data:
- Count:
Parameters:
- Data:
- Offset:
- Count:
ComputeHash
class method ComputeHash(Data: array of Byte; Algorithm: DigestAlgorithm): array of Byte
static Byte[] ComputeHash(Byte[] Data, DigestAlgorithm Algorithm)
static func ComputeHash(_ Data: Byte..., _ Algorithm: DigestAlgorithm) -> Byte...
static Byte[] ComputeHash(Byte[] Data, DigestAlgorithm Algorithm)
Shared Function ComputeHash(Data As Byte(), Algorithm As DigestAlgorithm) As Byte()
Parameters:
- Data:
- Algorithm:
constructor
constructor(Algorithm: DigestAlgorithm)
MessageDigest(DigestAlgorithm Algorithm)
init(_ Algorithm: DigestAlgorithm)
MessageDigest(DigestAlgorithm Algorithm)
Sub New(Algorithm As DigestAlgorithm)
Parameters:
- Algorithm:
Parameters:
- Data:
Parameters:
- Data:
- Count:
Parameters:
- Data:
- Offset:
- Count:
Reset mapped
method Reset
void Reset()
func Reset()
void Reset()
Sub Reset()
Update (array of Byte) mapped
method Update(Data: array of Byte)
void Update(Byte[] Data)
func Update(_ Data: Byte...)
void Update(Byte[] Data)
Sub Update(Data As Byte())
Parameters:
- Data:
Parameters:
- Data:
- Count:
Parameters:
- Data:
- Offset:
- Count: