const eoslime = require('eoslime').init();
const password = 'secret password';
let encryptedJSONAccount = await eoslime.Account.createEncrypted(password);
Encrypted JSON account => {
"name": "random generated",
"ciphertext": "encrypted private key + dataHash"