Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
どうすればこれを変換できますか
11252411445171911438526
このようなものになるために!
c6ee47d1a8edbce28b1560b836abd388631983b6
誰か助けて?
SHA1 ハッシュが必要な場合は、次のようにすることができます。
String input = "11252411445171911438526"; MessageDigest md = MessageDigest.getInstance("SHA-1"); md.reset(); md.update(input.getBytes("utf8")); String ouput = new BigInteger(1, md.digest()).toString(16);