DevKB
Web Development Knowledge Base
HOME | TOP 20 | WRITE AN ARTICLE |
Sections :



RSS RSS Feed

You too, please publish your useful code snippets in any programming language :
write an article !


Valid HTML 4.0 Transitional

Plateforme d'envoi de gros fichiers en ligne
Dépannage site web
Blog infogérance
Hébergement e-mail

Java


AES 256 bits encrypter/decrypter - Java source code

Here is a class to encrypt/decrypt data using 256 bits AES encryption algorithm (aka Rijndael). Usage : String cryptKey = "aPb4x9q0H4W8rPs7"; String data = "hello world "; aes = new AES(); aes.se ...
 

MD5 hash - Java source code

Here is Java class to get MD5 hash from strings. It is useful to check the integrity of data. Usage : String hash = MD5.getHash("hello world");// public static String getHash(String str) The MD5.java source cod ...
 

Base64 encoder/decoder - Java source code

Encodes and decodes to and from Base64 notation. Written by Robert Harder Main methods : /** * Encodes a byte array into Base64 notation. * Does not GZip-compress data. * * @param source The data ...
 

GZIP compression in Java

Here are 2 methods to compress/uncompress gzipped strings in Java. You must add an import statement at the beginning of your file :import java.util.zip.*; import java.io.*; The java code : public static String compre ...
 

DES 256 bits encrypter/decrypter - Java source code

A java class to encrypt/decrypt data using 96 bits DES algorithm. Usage : String encrypted = DesEncrypter.cryptString("hello world", "ABCDEFABCDEFABCDEFABCDEF"); String plain = DesEncrypter.decryptStr ...
 
Nos partenaires : iPhone 8 Cases & Protection