View Javadoc
1   package civitas.crypto.algorithms;
2   
3   import org.springframework.stereotype.Controller;
4   
5   import civitas.util.CivitasBigInteger;
6   import civitas.util.CivitasBigIntegerFactory;
7   
8   @Controller
9   public class ConvertHashToBigInt {
10  
11  	public CivitasBigInteger apply(final byte[] hash) {
12  		return CivitasBigIntegerFactory.obtain(1, hash);
13  	}
14  }