Archive for July, 2006

Simple Basic Encryption – Main differences between algorithms

Problem Solution Example Reference Symmetric Algo – one key to encrypt and decrypt.Asymmetric Algo – separate key to encrypt and decrypt.Stream ciphers – encrypt each bit in sequence.Block ciphers – encrypt specific blocks of bits.Hash/Message Digests – one way ciphers, create fingerprints of data.

Simple Basic Encryption – Most commonly used algorithms

Problem Solution Example Reference DES – Digital Encryption Standard. Symmetric block encryption algorithm.3DES – Triple DES. Symmetric block algo – uses DES three times.RC4 – Rivest Cipher #4. Symmetric algo uses stream encryption.RSA – Rivest, Shamir, Adelman. Symmetric block algo.IDEA – International Data Encryption Algo, symmetric block algo – used by PGP.AES – Advanced Encryption [...]

Whose turn is it? Automatic phone call turn indicator

Problem Do you have raging battles with the family, over whose turn it is to call. Solution Well here is your answer. In this 1 line of code, the week of the year is calculated. Depending on whether it is odd or even, a different message is printed. Example So if it is even "Descendent" [...]

Ldap reference – ldap result codes

Click on LDAP error number to see LDAP error description. 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16, 17,18,19,20,21,32, 33,34,35,36,48, 49,50,51,52,53,54,64, 65,66,67,68,69,70,71,76