For generating token, I have been relying on play.api.libs.Crypto.generateToken
successfully. However it is now deprecated and the migration guide is not very clear to me.
Could anybody tell me:
- which library I should include, preferable as sbt dependency
- the actual function to call