此内容没有您所选择的语言版本。
4.3.4. Testing the rh-ror42 Software Collection
To test the rh-ror42 Software Collection:
- Install the rh-ror42-rubygem-bcrypt package.
- Run the following command:
scl enable rh-ror42 -- ruby -r bcrypt -e "puts BCrypt::Password.create('my password')"$ scl enable rh-ror42 -- ruby -r bcrypt -e "puts BCrypt::Password.create('my password')"Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify that the output contains the following line:
$2a$10$s./ReniLY.wXPHVBQ9npoeyZf5KzywfpvI5lhjG6Ams3u0hKqwVbW
$2a$10$s./ReniLY.wXPHVBQ9npoeyZf5KzywfpvI5lhjG6Ams3u0hKqwVbWCopy to Clipboard Copied! Toggle word wrap Toggle overflow