public static Optional<String> decrypt(String privateKey, String text) {
        try {
            Cipher cipher = Cipher.getInstance(RSA_PADDING);
            byte[] privateKeyBytes = Base64.getDecoder().decode(privateKey.getBytes(DEFAULT_ENCODE));
            byte[] encryptTextByte = Base64.getDecoder().decode(text.getBytes(DEFAULT_ENCODE));
            PKCS8EncodedKeySpec encodedKeySpec = new PKCS8EncodedKeySpec(privateKeyBytes);
            KeyFactory keyFactory = KeyFactory.getInstance(ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, keyFactory.generatePrivate(encodedKeySpec));
            return Optional.ofNullable(new String(cipher.doFinal(encryptTextByte), DEFAULT_ENCODE));
        } catch (IOException | GeneralSecurityException e) {
            return Optional.empty();
        }
    }
@Test
    void decrypt() {
    }