Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <jni.h>
- #include <string>
- extern "C"
- JNIEXPORT jstring
- JNICALL
- Java_com_vtech_topiq_domain_repository_local_NativeHelperImpl_getChecksumKey(
- JNIEnv *env,
- jobject /* this */) {
- std::string encodeKey = "password here";
- return env->NewStringUTF(encodeKey.c_str());
- }
- extern "C"
- JNIEXPORT jstring
- JNICALL
- Java_com_vtech_topiq_domain_repository_local_NativeHelperImpl_getChecksumDevKey(
- JNIEnv *env,
- jobject /* this */) {
- std::string encodeKey = "password here1";
- return env->NewStringUTF(encodeKey.c_str());
- }
- extern "C"
- JNIEXPORT jstring
- JNICALL
- Java_com_vtech_topiq_domain_repository_local_NativeHelperImpl_getEncryptKey(
- JNIEnv *env,
- jobject /* this */) {
- std::string encryptKey = "password here2";
- return env->NewStringUTF(encryptKey.c_str());
- }
- extern "C"
- JNIEXPORT jstring
- JNICALL
- Java_com_vtech_topiq_domain_repository_local_NativeHelperImpl_getEncryptDevKey(
- JNIEnv *env,
- jobject /* this */) {
- std::string encryptKey = "password here3";
- return env->NewStringUTF(encryptKey.c_str());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement