Key generator for AppAuth