Skip to content

Instantly share code, notes, and snippets.

View willdjames's full-sized avatar
:octocat:
Online

William Santana willdjames

:octocat:
Online
View GitHub Profile
@willdjames
willdjames / Encryptor.java
Created January 31, 2024 02:22 — forked from zuoky/Encryptor.java
Java Encrypt/Decrypt Example
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
public class Encryptor {
public static String encrypt(String key, String initVector, String value) {
try {
IvParameterSpec iv = new IvParameterSpec(initVector.getBytes("UTF-8"));
@willdjames
willdjames / vscode-settings.json
Last active March 21, 2024 17:58
VS Code configuração
{
"breadcrumbs.enabled": false,
"editor.rulers": [110],
"editor.fontSize": 14,
"editor.fontFamily": "JetBrainsMono-Regular",
"editor.minimap.enabled": false,
"editor.cursorStyle": "block",
"editor.semanticHighlighting.enabled": false,