Class: AppIdentity::Versions::V1

Inherits:
RandomNonce show all
Defined in:
lib/app_identity/versions.rb

Overview

V1 is the original algorithm, using a permanent nonce value and SHA256 digests. The use of this version is strongly discouraged for new clients.

Instance Method Summary collapse

Methods inherited from RandomNonce

#generate_nonce, #nonce_type

Methods inherited from Base

#check_nonce!, defined, inherited, #inspect, instance, #make_digest

Instance Method Details

#digest_algorithmObject

:nodoc:



105
106
107
# File 'lib/app_identity/versions.rb', line 105

def digest_algorithm # :nodoc:
  Digest::SHA256
end