Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 748 Bytes

File metadata and controls

26 lines (16 loc) · 748 Bytes

Ics-codes

Information and Cyber Security Codes SPPU BE IT 2015 Course

Assignment 1: Chinese Remainder Theorem

Input Format : Number of pairs, Pair of values.
Output Format : Value of X (Modulo Multiplicative Inverse).

Assignment 2: RSA

Input Format : Prime Numbers p and q, Plaintext.

Note : p * q > 127 for code to work correctly for all ASCII values.

Output Format : Encrypted Text and Decrypted Text.

Assignment 3: SHA1 using Cryptopp C++ Library

Input Format : File containing plain text.
Output Format : Hashed contents of the file ( Message Digest ).

SHA1 Compilation Command:

g++ sha1.cpp -lcryptopp