Copying over from WrenchBoradWeb to new repository
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
let json = {
|
||||
"BaseApiUrl":"https://api.flutterwave.com",
|
||||
"PublicKey":"FLWPUBK_TEST-54c90141b028789d671067bd72f781a9-X",
|
||||
"SecretKey":"FLWSECK_TEST-c7bbc86d7e7100254c5e5bbf162bf2b2-X",
|
||||
"EncryptionKey":"FLWSECK_TESTe9474d4e2ce6"
|
||||
};
|
||||
let data = JSON.stringify(json);
|
||||
let buff = new Buffer(data);
|
||||
let base64data = buff.toString('base64');
|
||||
|
||||
console.log('"' + data + '" converted to Base64 is "' + base64data + '"');
|
||||
Reference in New Issue
Block a user