Skip to content

Instantly share code, notes, and snippets.

View wizmea's full-sized avatar

Arcadius TCHOKPODO wizmea

View GitHub Profile
@wizmea
wizmea / nodejs_java_encrypt_decrypt_128.js
Created October 6, 2021 19:31 — forked from luizwbr/nodejs_java_encrypt_decrypt_128.js
Encrypt and Decrypt using 128 for Nodejs or Javascript that actually works
// None of the tutorals could help me, so I adapted a few codes.
// What I really want is make a full duplex way between NodeJS and Java, using encrypt/decrypt with AES 128 bit
// 1 - you must have to generate the key
openssl enc -aes-128-cbc -k secret -P -md sha1
// key examples:
// DCDD74627CD60252E35DFBA91A4556AA
// 2CB24CFDB3F2520A5809EB4851168162
// 468CA14CA44C82B8264F61D42E0E9FA1
@wizmea
wizmea / RSACipher.java
Created February 14, 2018 00:02 — forked from awesometic/RSACipher.java
RSA encryption example for android
/**
* Created by Awesometic
* It's encrypt returns Base64 encoded, and also decrypt for Base64 encoded cipher
* references: http://stackoverflow.com/questions/12471999/rsa-encryption-decryption-in-android
*/
import android.util.Base64;
import java.nio.charset.StandardCharsets;
import java.security.InvalidKeyException;
import java.security.KeyFactory;
@wizmea
wizmea / README.md
Created January 27, 2017 15:14 — forked from lopspower/README.md
Material Animations

Material Animations

Android Arsenal

[Android Transition Framework][transition-framework] can be used for three main things:

  1. Animate activity layout content when transitioning from one activity to another.
  2. Animate shared elements (Hero views) in transitions between activities.
  3. Animate view changes within same activity.