Example Program
#include <stdio.h>
#include <ctype.h>
#define MAXSIZE 1024
void encrypt(char*);
void decrypt(char*);
int menu();
int
main(void)
{
char c,
choice[2],
s[MAXSIZE];
while(1)
{
menu();
gets(choice);
if((choice[0]=='e')||(choice[0]=='E'))
{
puts("Input text to encrypt->");
gets(s);
...
Thursday, 20 October 2016
Script Cryptography di SQL

Cryptography is the oldest technique, we were using in the past
(before computer born) to secure our communication. Encryption is a
methodology to convert the original readable text to unreadable format.
Decryption is the reverse engineering of encryption.
In modern world, the cryptography has evolved drastically with
mathematics, computer...

Contoh Program Kriptografi di C++
Betikur ini adalah contoh sederhana menggunakan kriptografi AES di C++.
Contoh Program :
Source Code C++
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* MCrypt API available online:
* http://linux.die.net/man/3/mcrypt
*/
#include <mcrypt.h>
#include <math.h>
#include <stdint.h>
#include...

Contoh Program Kriptografi di Java
Contoh Program
Betikur ini adalah contoh sederhana menggunakan kriptografi AES di Java. Contoh Program
Source Code Java
import java.security.MessageDigest;
import java.util.Arrays;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
import javax.crypto.spec.IvParameterSpec;
import...

Subscribe to:
Posts (Atom)