How To Create a Simple Nonce in PHP

Using PHP OOP's approach, we can create a simple Nonce that needs a server-side secret for its generation and validation.

I created methods that will;

  • Generate a salt
  • Generate a Nonce using a generated salt
  • Verify a Nonce
  • Store a generated Nonce

 Read the article on medium


Simon Ugorji

16 Blog posts

Comments