diff --git a/_data/sidebars/picoruby_sidebar.yml b/_data/sidebars/picoruby_sidebar.yml index 2d04e99..dcb0836 100644 --- a/_data/sidebars/picoruby_sidebar.yml +++ b/_data/sidebars/picoruby_sidebar.yml @@ -322,6 +322,14 @@ entries: url: "/MbedTLS_CMAC.html" output: web pdf type: homepage + - title: MbedTLS::Cipher + url: "/MbedTLS_Cipher.html" + output: web pdf + type: homepage + - title: MbedTLS::Digest + url: "/MbedTLS_Digest.html" + output: web pdf + type: homepage - title: PicoRubyVM url: "/PicoRubyVM.html" output: web pdf @@ -342,6 +350,10 @@ entries: url: "/Prism_ParseResult.html" output: web pdf type: homepage + - title: RNG + url: "/RNG.html" + output: web pdf + type: homepage - title: RTD url: "/RTD.html" output: web pdf diff --git a/pages/rbs_doc/Base16.md b/pages/rbs_doc/Base16.md index e4a2411..c7ce781 100644 --- a/pages/rbs_doc/Base16.md +++ b/pages/rbs_doc/Base16.md @@ -7,3 +7,14 @@ sidebar: picoruby_sidebar permalink: Base16.html folder: rbs_doc --- +## Singleton methods +### decode16 + +```ruby +Base16.decode16(String) -> String +``` +### encode16 + +```ruby +Base16.encode16(String) -> String +``` diff --git a/pages/rbs_doc/Base64.md b/pages/rbs_doc/Base64.md index 538ffd9..3bc734a 100644 --- a/pages/rbs_doc/Base64.md +++ b/pages/rbs_doc/Base64.md @@ -7,3 +7,14 @@ sidebar: picoruby_sidebar permalink: Base64.html folder: rbs_doc --- +## Singleton methods +### decode64 + +```ruby +Base64.decode64(String) -> String +``` +### encode64 + +```ruby +Base64.encode64(String) -> String +``` diff --git a/pages/rbs_doc/MbedTLS_Cipher.md b/pages/rbs_doc/MbedTLS_Cipher.md new file mode 100644 index 0000000..cece837 --- /dev/null +++ b/pages/rbs_doc/MbedTLS_Cipher.md @@ -0,0 +1,46 @@ +--- +title: MbedTLS::Cipher +keywords: MbedTLS::Cipher +tags: [class] +summary: MbedTLS::Cipher class of PicoRuby +sidebar: picoruby_sidebar +permalink: MbedTLS_Cipher.html +folder: rbs_doc +--- +## Singleton methods +### _init_ctx + +```ruby +MbedTLS::Cipher._init_ctx(Integer, String, Integer) -> MbedTLS::Cipher +``` +### new + +```ruby +MbedTLS::Cipher.new(untyped cipher_suite, untyped key, untyped operation) -> MbedTLS::Cipher +``` +## Instance methods +### check_tag + +```ruby +instance.check_tag(String) -> bool +``` +### finish + +```ruby +instance.finish() -> String +``` +### update + +```ruby +instance.update(String) -> String +``` +### update_ad + +```ruby +instance.update_ad(String) -> MbedTLS::Cipher +``` +### write_tag + +```ruby +instance.write_tag() -> String +``` diff --git a/pages/rbs_doc/MbedTLS_Digest.md b/pages/rbs_doc/MbedTLS_Digest.md new file mode 100644 index 0000000..3c45b0a --- /dev/null +++ b/pages/rbs_doc/MbedTLS_Digest.md @@ -0,0 +1,26 @@ +--- +title: MbedTLS::Digest +keywords: MbedTLS::Digest +tags: [class] +summary: MbedTLS::Digest class of PicoRuby +sidebar: picoruby_sidebar +permalink: MbedTLS_Digest.html +folder: rbs_doc +--- +## Singleton methods +### new + +```ruby +MbedTLS::Digest.new(untyped algorithm) -> MbedTLS::Digest +``` +## Instance methods +### finish + +```ruby +instance.finish() -> String +``` +### update + +```ruby +instance.update(String) -> MbedTLS::Digest +``` diff --git a/pages/rbs_doc/RNG.md b/pages/rbs_doc/RNG.md new file mode 100644 index 0000000..891193e --- /dev/null +++ b/pages/rbs_doc/RNG.md @@ -0,0 +1,20 @@ +--- +title: RNG +keywords: RNG +tags: [class] +summary: RNG class of PicoRuby +sidebar: picoruby_sidebar +permalink: RNG.html +folder: rbs_doc +--- +## Singleton methods +### random_int + +```ruby +RNG.random_int-> Integer +``` +### random_string + +```ruby +RNG.random_string(Integer) -> String +```