facebook key hash is only 10 digits code example

Example 1: keystore get key hashes

$ keytool -exportcert -alias androiddebugkey -keystore "C:\Documents and Settings\Administrator.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary |"C:\OpenSSL\bin\openssl" base64

Example 2: react native generate app hash without play console

// Copy HashCode generated by below code from console it can be used for both dev && prod

import RNOtpVerify from 'react-native-otp-verify';

const getHash = () =>
   RNOtpVerify.getHash()
  .then(console.log)
  .catch(console.log);

getHash()