Here you can find the source of hashOTP(String otp)
public static String hashOTP(String otp)
//package com.java2s; //License from project: Open Source License public class Main { public static String hashOTP(String otp) { return Integer.toString(otp.hashCode()); }//from w w w. j ava 2 s . c o m }