Skip to content

Instantly share code, notes, and snippets.

@lnlonSA
lnlonSA / AES.java
Last active November 13, 2016 19:03
وظيفة آمن نظم المعلومات - المرحلة1
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bitcion;
import java.security.*;
import java.security.spec.InvalidKeySpecException;
@lnlonSA
lnlonSA / skewing.py
Created November 16, 2016 17:18
skewing detection and correction using python with opencv
import numpy as np
import math
import cv2
def compute_skew(file_name):
#load in grayscale:
src = cv2.imread(file_name,0)
height, width = src.shape[0:2]
@lnlonSA
lnlonSA / ClientClass.java
Created November 27, 2016 23:04
المرحلة2 : التوقيع الرقمي + عدم النكران
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bitcion;
import bitcion.forms.Client;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
@lnlonSA
lnlonSA / AES.java
Created December 26, 2016 18:56
مشروع أمن نظم المعلومات
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bitcion;
import java.io.IOException;
import java.io.InputStream;