Skip to content

Instantly share code, notes, and snippets.

View mkhoudary's full-sized avatar

Mohammed Riyad El Khoudary mkhoudary

View GitHub Profile
@mkhoudary
mkhoudary / JokerCodesSecurityUtil.java
Created April 12, 2022 08:37
Joker Codes Gift Card Decryption Java Implementation
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Base64;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import 'dart:convert';
import 'package:alsafi_app/helpers/renderer.dart';
class PrintProvider {
List<int> rightAlign = [27, 97, 2];
List<int> leftAlign = [27, 97, 0];
List<int> centerAlign = [27, 97, 1];
List<int> title = [29, 33, 33];
List<int> heading = [29, 33, 16];