hash

open fun hash(algorithm: HashUtil.Algorithm, buffer: ByteBuffer): Array<Byte>
open fun hash(algorithm: HashUtil.Algorithm, bytes: Array<Byte>): Array<Byte>