encryption - Java: Access token with SHA512 and random salt - how to verify? -


i have question regarding webservice. using access token security , authentification purpose. want store token encrypted in database , token expire after 90 days. using random salt , facing issue: how can verify that? thinking storing salt in database well, if have receive user_id salt , encrypt token again. (so user sending token in header , not encrypted there)

thanks in advance, jan


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -