digest

inline suspend fun SubtleCrypto.digest(algorithm: Algorithm, data: BufferSource): ArrayBuffer(source)

The digest() method of the SubtleCrypto interface generates a digest of the given data, using the specified hash function.

MDN Reference


inline suspend fun SubtleCrypto.digest(algorithm: String, data: BufferSource): ArrayBuffer(source)