vncore / com.venuenext.vncore.http / OAuth / computeSHA1

computeSHA1

fun computeSHA1(buffer: ByteArray): String

Computes SHA1 encryption.

Parameters

buffer - the buffer array to compute.

Return
the encrypted string.

fun computeSHA1(text: String): String

Computes SHA1 encryption.

Parameters

text - the text string to compute.

Return
the encrypted string.