Home / Tag Archives: random

Tag Archives: random

Advanced Encryption Standard (AES)


The Advanced Encryption Standard (AES) is the latest encryption standard adopted by NIST in 2001 for the symmetric encryption of messages. The AES algorithm was selected as part of a contest to find a replacement for the Data Encryption Standard (DES). This algorithm was based on the Rijndael cipher developed …

Read More »

Symmetric Encryption


A symmetric encryption algorithm is a two-way encryption procedure that employs the same key for both encryption and decryption of the information. Theoretically, this seems straightforward as both the sender and receiver of the message should know the key, however in practice safely sharing a key is very hard to …

Read More »

Password Storage


Using Hashes to Store Passwords A common usage scenario for hashes is to encode passwords for storing in a database. With the rise of modern processors and graphical processing units (GPUs), it is not recommended you take this approach as hashes can be brute force attacked or attacked by using …

Read More »

Cryptographic Random Numbers


Random numbers are essential in cryptography as you need them for generating encryption keys for symmetric algorithms such as AES, as well as for adding entropy into hashing functions and key derivation functions. Usually in .NET, when you want to generate a random number or a pseudorandom number, you would make …

Read More »