Skip to content

Instantly share code, notes, and snippets.

View pro100svitlo's full-sized avatar
💭
🇷🇺 🪖 🚢 🖕

Andrii Antonov pro100svitlo

💭
🇷🇺 🪖 🚢 🖕
View GitHub Profile
@itarato
itarato / encryption.java
Created September 28, 2014 18:59
Java AES CBC encryption example
package com.company;
import javax.crypto.Cipher;
import javax.crypto.Mac;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.security.MessageDigest;
import java.security.SecureRandom;
public class Main {