ruby on rails - What is the difference between a token and a digest? -


i'm learning authenticating users in rails , concept of tokens , digests keep reappearing. think understand general idea of purposes in general, don't understand difference between two.

  • token random string
  • digest hashed string

a cryptographic hash function procedure takes data , return fixed bit string: hash value, known digest. hash functions called one-way functions, easy compute digest message, infeasible generate message digest.

read more digest here: http://apidock.com/ruby/digest


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -