OpenSSL::HMAC.hexdigest( 'sha256', # hash function 'E78xpUufdHCVJV35PQM0U6TlY7vJeNvS7VltY399', # secret key (keep safe!) current_user.id # user's id )
top of page
bottom of page