Category "cryptography"

Python cryptography -- How to include X509 extensions for "Subject Key Identifier" and "Authority Key Identifier" in a self-signed cert?

I am using the "cryptography" module in Python to create self-signed certificates for testing. I followed the examples here "https://cryptography.io/en/latest/x

Flutter - How to decrypt a RSA private key encrypted string if we have RSA public key with us?

Flutter app receives public key in the form of contents of public.pem file which would be a string like "-----BEGIN PUBLIC KEY----- MIICqq7DBi9sBXZfDYJC+G57JYUC

Getting Started with crypto++ decryption with AES

I'm trying to learn a bit about cryptography and am trying to use AES decryption with the crypto++ library in c++. I have a ciphertext string and a key string.

One-to-one integer mapping function

We are using MySQL and developing an application where we'd like the ID sequence not to be publicly visible... the IDs are hardly top secret and there is no sig

What Salt size and position for AES 256?

I haven't written encryption in a while and have forgotten some stuff. I remember that to have the output be different for the same data using the same key, I w

System.ArgumentNullException: 'String reference not set to an instance of a String. Parameter name: s'

When i submit the registration form i get this error: System.ArgumentNullException: 'String reference not set to an instance of a String. Parameter name:

Convert this Nodejs Function to C# Function

I have this function in NodeJS and I need some help to convert to C#, my problem is get the 'buf' from randomBytes NodeJS Function: function generateKeys() {