w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


<<

<<(str) Instance Public methods Alias for: update

new

Digest::SHA2.new(bitlen = 256) â digest_obj Class Public methods Creates a new SHA2 hash object with a given bit length. Valid bit lengths are 256, 384 and 512.

update

digest_obj.update(string) â digest_obj Instance Public methods Updates the digest using a given string and returns self. The update() method and the left-shift operator are overridden by each implementation subclass. (One should be an alias for the other)

to_s

digest_obj.to_s â string Instance Public methods Returns digest_obj.hexdigest().

size

digest_obj.size â integer Instance Public methods Returns digest_obj.digest_length().

reset

digest_obj.reset â digest_obj Instance Public methods Resets the digest to the initial state and returns self. This method is overridden by each implementation subclass.

new

digest_obj.new â another_digest_obj Instance Public methods Returns a new, initialized copy of the digest object. Equivalent to digest_obj.clone().reset().

length

digest_obj.length â integer Instance Public methods Returns digest_obj.digest_length().

inspect

digest_obj.inspect â string Instance Public methods Creates a printable version of the digest object.

hexdigest!

digest_obj.hexdigest! â string Instance Public methods Returns the resulting hash value in a hex-encoded form and resets the digest to the initial state.

Page 2159 of 2275

|< < Prev 2156 2157 2158 2159 2160 2161 2162 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions