Method: RbNaCl::HMAC::SHA512#hexdigest

Defined in:
lib/rbnacl/hmac/sha512.rb

#hexdigestString

Return the authenticator, as hex string

Returns:

  • (String)

    The authenticator, as hex string



71
72
73
# File 'lib/rbnacl/hmac/sha512.rb', line 71

def hexdigest
  @authenticator.unpack("H*").last
end