hash

private open fun hash(serverSecret: String): String

Method to hash a server secret

Return

the server secret hashed as String

Parameters

serverSecret

: the server secret to hash

Throws

when the hash algorithm is not valid