An app for encrypting text in Sketchware

Create a new app with four pages or Activity: MainActivity, NewnoteActivity, OldnoteActivity, ViewnoteActivity . In main.xml add two buttons. On button_new click, move to NewnoteActivity. On button_old click, move to OldnoteActivity. In newnote.xml View, add an Edittext (edittext1) and a Button (fab1) . In NewnoteActivity , add a Shared preferences component (sp:sp) . Add a more block called newitems and put following code in it: } byte[] cipherText; byte[] secretKeyen; byte[] IV = new byte[16]; { Add another more block called encrypt and put following code in it: } public static byte[] encrypt(byte[] plaintext, javax.crypto.SecretKey key, byte[] IV) throws Exception{ javax.crypto.Cipher cipher = javax.crypto.Cipher.getInstance("AES"); javax.crypto.spec.SecretKeySpec keySpec = new javax.crypto.spec.SecretKeySpec(key.getEncoded(), "AES"); javax.crypto.spec.IvParameterSpec ivSpec = new javax.crypto.spec.IvParameterSpec(IV); cipher.init(javax.crypto...