Skip to content

Instantly share code, notes, and snippets.

View sumit784's full-sized avatar

Sumit Rathore sumit784

  • USA
View GitHub Profile
@sumit784
sumit784 / s3-upload-via-link.php
Created July 26, 2017 00:09 — forked from keithweaver/s3-upload-via-link.php
Upload image using link to AWS S3 with PHP
@sumit784
sumit784 / aes.java
Created July 14, 2017 08:06 — forked from ulymarins/aes.java
Java Encryption with AES
import java.math.BigInteger;
import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.util.Random;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;