Results for: "remove_const"

Returns the same as calling inspect on the string representation of to_str

No documentation available

See the OpenSSL documentation for EC_GROUP_get_degree()

No documentation available

Is this tar entry a directory?

Reads maxlen bytes from the tar file entry, or the rest of the entry if nil

No documentation available

Rewinds to the beginning of the tar file entry

No documentation available

@foo = 1 ^^^^^^^^

@foo, = bar ^^^^

def foo(bar:); end

^^^^

def foo(bar:); end

^^^^

Like Enumerable#map, but chains operation to be lazy-evaluated.

(1..Float::INFINITY).lazy.map {|i| i**2 }
#=> #<Enumerator::Lazy: #<Enumerator::Lazy: 1..Infinity>:map>
(1..Float::INFINITY).lazy.map {|i| i**2 }.first(3)
#=> [1, 4, 9]

Return the length of the hash value in bytes.

Return the length of the hash value (the digest) in bytes.

Digest::SHA256.new.digest_length * 8
# => 256
Digest::SHA384.new.digest_length * 8
# => 384
Digest::SHA512.new.digest_length * 8
# => 512

For example, digests produced by Digest::SHA256 will always be 32 bytes (256 bits) in size.

ptr.to_str        => string
ptr.to_str(len)   => string

Returns the pointer contents as a string.

When called with no arguments, this method will return the contents with the length of this pointer’s size.

When called with len, a string of len bytes will be returned.

See to_s

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Returns the output size of the digest, i.e. the length in bytes of the final message digest result.

Example

digest = OpenSSL::Digest.new('SHA1')
puts digest.digest_length # => 20
No documentation available
No documentation available
Search took: 8ms  ·  Total Results: 5438