( ! ) Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php on line 0 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2276 | 9258472 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 0.2276 | 9261408 | do_action( ) | ...\rest-api.php:577 |
12 | 0.2276 | 9261784 | WP_Hook->do_action( ) | ...\plugin.php:517 |
13 | 0.2276 | 9261784 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
14 | 0.2285 | 9300984 | Jetpack_Core_Json_Api_Endpoints::register_endpoints( ) | ...\class-wp-hook.php:308 |
15 | 0.2288 | 9308976 | Jetpack::load_xml_rpc_client( ) | ...\class.core-rest-api-endpoints.php:64 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2967 | 11048968 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:310 |
12 | 0.2967 | 11049296 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2977 | 11048912 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:311 |
12 | 0.2977 | 11049232 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2990 | 11049104 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:315 |
12 | 0.2990 | 11049472 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2998 | 11048992 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:323 |
12 | 0.2998 | 11049312 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3006 | 11049056 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:335 |
12 | 0.3006 | 11049424 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3014 | 11049104 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:359 |
12 | 0.3015 | 11049472 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3418 | 11274784 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 0.3419 | 11274784 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 0.3419 | 11275296 | header
( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 401504 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401784 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2271 | 9230712 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2271 | 9230736 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2271 | 9230736 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2276 | 9257424 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2276 | 9257424 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2276 | 9257424 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2276 | 9258440 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2966 | 11049312 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3418 | 11274784 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 0.3431 | 11274784 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 0.3431 | 11275104 | header
( ) | ...\class-wp-rest-server.php:1762 |
{"id":4222,"date":"2021-11-30T12:32:13","date_gmt":"2021-11-30T12:32:13","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/c-aes-example\/"},"modified":"2021-11-30T12:37:38","modified_gmt":"2021-11-30T12:37:38","slug":"c-aes-example","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/c-aes-example\/","title":{"rendered":"C# AES Example"},"content":{"rendered":"\n\u00a0 \u00a0 using\u00a0System;
\u00a0 \u00a0 using\u00a0System.Collections.Generic;
\u00a0 \u00a0 using\u00a0System.Linq;
\u00a0 \u00a0 using\u00a0System.Text;
\u00a0 \u00a0 using\u00a0System.Threading.Tasks;
\u00a0 \u00a0 using\u00a0System.Security.Cryptography;<\/code><\/p>\n\n\n\n
\u00a0\u00a0\u00a0\u00a0public\u00a0class\u00a0Aes
\u00a0\u00a0\u00a0\u00a0{
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0static\u00a0string\u00a0ivStr\u00a0=\u00a0\"uDMl7JqkHZQDZ+nK\";
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0static\u00a0string\u00a0keyStr\u00a0=\u00a0\"0qxH9vaizwIeLju+fmGIVfAwgG79XT7K\";
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0static\u00a0string\u00a0Encrypt(string\u00a0PlainText)
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0RijndaelManaged\u00a0aes\u00a0=\u00a0new\u00a0RijndaelManaged();
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.BlockSize\u00a0=\u00a0128;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.KeySize\u00a0=\u00a0256;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u00a0It\u00a0is\u00a0equal\u00a0in\u00a0java\u00a0
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\/\u00a0Cipher\u00a0_Cipher\u00a0=\u00a0Cipher.getInstance(\"AES\/CBC\/PKCS5PADDING\");\u00a0\u00a0\u00a0\u00a0
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Mode\u00a0=\u00a0CipherMode.CBC;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Padding\u00a0=\u00a0PaddingMode.PKCS7;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0keyArr\u00a0=\u00a0ASCIIEncoding.UTF8.GetBytes(keyStr);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0KeyArrBytes32Value\u00a0=\u00a0new\u00a0byte[
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0];
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Array.Copy(keyArr,\u00a0KeyArrBytes32Value,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u00a0Initialization\u00a0vector.\u00a0\u00a0\u00a0
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u00a0It\u00a0could\u00a0be\u00a0any\u00a0value\u00a0or\u00a0generated\u00a0using\u00a0a\u00a0random\u00a0number\u00a0generator.
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0ivArr\u00a0=\u00a0ASCIIEncoding.UTF8.GetBytes(ivStr);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0IVBytes16Value\u00a0=\u00a0new\u00a0byte[
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a016
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0];
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Array.Copy(ivArr,\u00a0IVBytes16Value,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a016);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Key\u00a0=\u00a0KeyArrBytes32Value;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.IV\u00a0=\u00a0IVBytes16Value;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ICryptoTransform\u00a0encrypto\u00a0=\u00a0aes.CreateEncryptor();
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0plainTextByte\u00a0=\u00a0ASCIIEncoding.UTF8.GetBytes(PlainText);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0CipherText\u00a0=\u00a0encrypto.TransformFinalBlock(plainTextByte,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00,\u00a0plainTextByte.Length);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return\u00a0Convert.ToBase64String(CipherText);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0public\u00a0static\u00a0string\u00a0Decrypt(string\u00a0CipherText)
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0RijndaelManaged\u00a0aes\u00a0=\u00a0new\u00a0RijndaelManaged();
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.BlockSize\u00a0=\u00a0128;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.KeySize\u00a0=\u00a0256;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Mode\u00a0=\u00a0CipherMode.CBC;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Padding\u00a0=\u00a0PaddingMode.PKCS7;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0keyArr\u00a0=\u00a0ASCIIEncoding.UTF8.GetBytes(keyStr);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0KeyArrBytes32Value\u00a0=\u00a0new\u00a0byte[
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0];
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Array.Copy(keyArr,\u00a0KeyArrBytes32Value,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u00a0Initialization\u00a0vector.\u00a0\u00a0\u00a0
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u00a0It\u00a0could\u00a0be\u00a0any\u00a0value\u00a0or\u00a0generated\u00a0using\u00a0a\u00a0random\u00a0number\u00a0generator.
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0ivArr\u00a0=\u00a0ASCIIEncoding.UTF8.GetBytes(ivStr);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0IVBytes16Value\u00a0=\u00a0new\u00a0byte[
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a016
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0];
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Array.Copy(ivArr,\u00a0IVBytes16Value,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a016);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.Key\u00a0=\u00a0KeyArrBytes32Value;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0aes.IV\u00a0=\u00a0IVBytes16Value;
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ICryptoTransform\u00a0decrypto\u00a0=\u00a0aes.CreateDecryptor();
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0encryptedBytes\u00a0=\u00a0Convert.FromBase64CharArray(CipherText.ToCharArray(),
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00,\u00a0CipherText.Length);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0byte[]\u00a0decryptedData\u00a0=\u00a0decrypto.TransformFinalBlock(encryptedBytes,
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00,\u00a0encryptedBytes.Length);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return\u00a0ASCIIEncoding.UTF8.GetString(decryptedData);
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}
\u00a0 \u00a0\u00a0<\/code><\/p>\n","protected":false},"author":4618,"featured_media":0,"parent":4074,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4222"}],"collection":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/users\/4618"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=4222"}],"version-history":[{"count":1,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4222\/revisions"}],"predecessor-version":[{"id":4224,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4222\/revisions\/4224"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4074"}],"next":[{"title":"JAVA AES Example","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/java-aes-example\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4225"}],"prev":[{"title":"Card Funding","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/card-management\/card-funding\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/4219"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=4222"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=4222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}