For encrypted chat app, how can I store sent messages so that they are encrypted but still can be viewed by the sender?

Actual implimentaton will be in android but this is more about general security than actual implimentaton details. I’m making an end-to-end encrypted chat app and I know that in order to send encrypted messages you have to en… Continue reading For encrypted chat app, how can I store sent messages so that they are encrypted but still can be viewed by the sender?

How Asymmetric algorithm’s cipher text can be rerandomized without knowldge of secret key?

As public key algorithm Elgamal’s cipher text can be re-encrypted using its homomorphic property and can be used in many application i,e Mixnets.

I want some other public key algorithm can behave similarly such that we can r… Continue reading How Asymmetric algorithm’s cipher text can be rerandomized without knowldge of secret key?

OAuth2 Client Credentials Flow with assertion JWT: How to share the client’s public key?

I’m having a deeper look into OAuth 2.0 and especially the Client Credentials Flow that is intended to authenticate a client application or device without user interaction (the client is accessing its own resources, not actin… Continue reading OAuth2 Client Credentials Flow with assertion JWT: How to share the client’s public key?