shared.cpp 537 B

123456789101112131415161718192021222324
  1. // Write C++ code here.
  2. //
  3. // Do not forget to dynamically load the C++ library into your application.
  4. //
  5. // For instance,
  6. //
  7. // In MainActivity.java:
  8. // static {
  9. // System.loadLibrary("shared");
  10. // }
  11. //
  12. // Or, in MainActivity.kt:
  13. // companion object {
  14. // init {
  15. // System.loadLibrary("shared")
  16. // }
  17. // }
  18. #include <jni.h>
  19. extern "C"
  20. JNIEXPORT jstring JNICALL
  21. Java_com_grkj_shared_config_AESConfig_aesKey(JNIEnv *env, jobject thiz) {
  22. return env->NewStringUTF("e3d8c4a0f72b1e9d8a5f06c3b4910d7a");
  23. }