るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.172秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:l[x] > クエリ:n[x] > クラス:OpenSSL::PKey::RSA[x] > バージョン:3.3[x] > クエリ:private_decrypt[x]

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. context prompt_n
  3. pop n_bytes
  4. openssl n=
  5. context prompt_n=

ライブラリ

検索結果

OpenSSL::PKey::RSA#private_decrypt(str, mode = OpenSSL::PKey::RSA::PKCS1_PADDING) -> String (72910.0)

文字列 str を秘密鍵で復号化します。

...利用可能です。
* OpenSSL::PKey::RSA::PKCS1_PADDING
* OpenSSL::PKey::RSA::SSLV23_PADDING
* OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING
* OpenSSL::PKey::RSA::NO_PADDING

@param str 暗号化する文字列
@param mode パディングモード
@raise OpenSSL::PKey::RSAError 復号化に失敗し...