Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Apr 29, 2024
1 parent 1721dfd commit 0f2a5a6
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _data/sidebars/picoruby_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 11 additions & 0 deletions pages/rbs_doc/Base16.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
11 changes: 11 additions & 0 deletions pages/rbs_doc/Base64.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
46 changes: 46 additions & 0 deletions pages/rbs_doc/MbedTLS_Cipher.md
Original file line number Diff line number Diff line change
@@ -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
```
26 changes: 26 additions & 0 deletions pages/rbs_doc/MbedTLS_Digest.md
Original file line number Diff line number Diff line change
@@ -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
```
20 changes: 20 additions & 0 deletions pages/rbs_doc/RNG.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 0f2a5a6

Please sign in to comment.