Skip to content

Instantly share code, notes, and snippets.

View arnoldmartinez's full-sized avatar
🎯
Focusing

Arnold Martinez arnoldmartinez

🎯
Focusing
View GitHub Profile
@arnoldmartinez
arnoldmartinez / Calculator.java
Last active April 22, 2017 05:26
LEAP-YEAR CALCULATOR
package demo;
public interface Calculator {
boolean calculateLeapYear(int year);
}
@arnoldmartinez
arnoldmartinez / Algorithm.java
Created April 2, 2017 00:58
Algorithm for computing SHA-256
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import javax.xml.bind.DatatypeConverter;
/**
* @author ARNOLD
*
*/
public class Algorithm {