PHP openssl_private_encrypt have javascript analog Need analog in javascript for openssl_private_encrypt php function.