fun computeSHA1(buffer: ByteArray): String
Computes SHA1 encryption.
buffer
- the buffer array to compute.
Return
the encrypted string.
fun computeSHA1(text: String): String
Computes SHA1 encryption.
text
- the text string to compute.
Return
the encrypted string.