sha 1 key generate through code example
Example 1: generate sha key
keytool -list -v -keystore c:\Users\[your username]\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
Example 2: Generate SHA Key
keytool -list -v -alias androiddebugkey -keystore C:\Users\YOURUSERNAME\.android\debug.keystore