1032件ヒット
[1-100件を表示]
(0.043秒)
ライブラリ
- ビルトイン (148)
- base64 (24)
-
cgi
/ core (36) -
cgi
/ html (24) -
fiddle
/ import (24) - json (24)
-
json
/ add / ostruct (12) -
json
/ add / struct (12) - mkmf (36)
-
net
/ ftp (20) -
net
/ http (60) -
net
/ imap (36) -
net
/ protocol (12) -
net
/ smtp (24) - openssl (132)
- rake (24)
-
rdoc
/ generator / ri (12) -
rubygems
/ command (12) -
rubygems
/ installer (24) -
rubygems
/ specification (12) - socket (24)
- uri (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
win32
/ registry (228) - win32ole (12)
- zlib (12)
クラス
- CGI (12)
-
Gem
:: Command (12) -
Gem
:: Installer (24) -
Gem
:: Specification (12) -
Net
:: FTP :: MLSxEntry (20) -
Net
:: HTTPGenericRequest (60) -
Net
:: IMAP :: BodyTypeBasic (12) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeText (12) -
Net
:: SMTP (24) - Object (12)
-
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: PKey :: RSA (48) -
OpenSSL
:: X509 :: CRL (60) -
OpenSSL
:: X509 :: ExtensionFactory (12) - OpenStruct (12)
-
RDoc
:: Generator :: RI (12) - Socket (12)
- String (120)
- Struct (12)
- TracePoint (7)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) - WIN32OLE (12)
-
Win32
:: Registry (132)
モジュール
- Base64 (24)
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (24) -
Fiddle
:: Importer (24) - JSON (12)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) - Kernel (48)
-
Rake
:: TaskManager (12) -
RubyVM
:: AbstractSyntaxTree (9) -
Socket
:: Constants (12) - URI (12)
-
Win32
:: Registry :: API (24) -
Win32
:: Registry :: Constants (72) - Zlib (12)
キーワード
- CreateKey (12)
- DESCRIPTION (12)
-
KEY
_ CREATE _ LINK (12) -
KEY
_ CREATE _ SUB _ KEY (12) - ProtocRetryError (12)
-
REG
_ CREATED _ NEW _ KEY (12) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (12) -
REG
_ OPENED _ EXISTING _ KEY (12) -
REG
_ OPTION _ CREATE _ LINK (12) -
RUBY
_ DESCRIPTION (12) - RegCreateKeyExA (12)
-
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (24) - SafeStringValue (12)
-
app
_ script _ text (12) - body (12)
-
body
_ stream (12) -
body
_ stream= (12) - crc32 (12)
- creatable? (10)
- create (46)
-
create
_ body (12) -
create
_ ext _ from _ string (12) -
create
_ guid (12) -
create
_ header (12) -
create
_ id (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) -
create
_ value (12) - created? (12)
- crypt (12)
- decrypt (12)
- desc (12)
- description (60)
-
descriptor
_ length (12) - encode (36)
-
encode
_ www _ form _ component (12) -
eval
_ script (7) -
json
_ create (36) -
last
_ description (12) -
max
_ key _ length (12) -
max
_ value _ length (12) -
max
_ value _ name _ length (12) - method (12)
-
num
_ keys (12) -
num
_ values (12) - of (3)
- parse (3)
-
parse
_ file (3) - path (12)
-
private
_ decrypt (12) -
private
_ encrypt (12) -
public
_ decrypt (12) -
public
_ encrypt (12) - ready (12)
-
script
_ name (24) -
scrolling
_ list (24) - scrub (36)
- scrub! (36)
-
signature
_ algorithm (12) -
status
_ line (12) -
strict
_ decode64 (12) -
to
_ der (12) -
to
_ pem (12) -
to
_ s (12) -
to
_ text (12) -
urlsafe
_ decode64 (12) - value (12)
-
windows
_ stub _ script (12) - wtime (12)
検索結果
先頭5件
-
CGI
:: CR -> String (18201.0) -
キャリッジリターンを表す文字列です。
キャリッジリターンを表す文字列です。 -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (12300.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
...から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext... -
Socket
:: Constants :: SO _ SECURITY _ ENCRYPTION _ TRANSPORT -> Integer (12200.0) -
@todo
@todo -
Socket
:: SO _ SECURITY _ ENCRYPTION _ TRANSPORT -> Integer (12200.0) -
@todo
@todo -
Net
:: ProtocRetryError (12000.0) -
Alias of Net::ProtoRetriableError
...Alias of Net::ProtoRetriableError... -
String
# crypt(salt) -> String (9206.0) -
self と salt から暗号化された文字列を生成して返します。 salt には英数字、ドット (「.」)、スラッシュ (「/」) から構成される、 2 バイト以上の文字列を指定します。
...string-crypt gem の使用を検討してください。
* crypt の処理は crypt(3) の実装に依存しています。
従って、crypt で処理される内容の詳細や salt の与え方については、
利用環境の crypt(3) 等を見て確認してください。
* cryp......t の結果は利用環境が異なると変わる場合があります。
crypt の結果を、異なる利用環境間で使用する場合には注意して下さい。
* 典型的な DES を使用した crypt(3) の場合、
self の最初の 8 バイト、salt の最初の 2 バイト......パスワードの暗号化
salt = [rand(64),rand(64)].pack("C*").tr("\x00-\x3f","A-Za-z0-9./")
passwd.crypt(salt)
# UNIX のログイン認証
require 'etc'
def valid_login?(user, password)
ent = Etc.getpwnam(user)
password.crypt(ent.passwd) == ent.passwd
end
p valid_login?("taro", "passwor... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (9200.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC"... -
OpenStruct
. json _ create(hash) -> OpenStruct (9200.0) -
JSON のオブジェクトから OpenStruct のオブジェクトを生成して返します。
...JSON のオブジェクトから OpenStruct のオブジェクトを生成して返します。
@param hash OpenStruct.new に指定可能な値をキー 't' もしくは :t に持つハッシュを指定します。... -
String
# scrub -> String (9200.0) -
self が不正なバイト列を含む場合に別の文字列に置き換えた新しい文字列を返します。
...ブ
ロックの戻り値で置き換えられます。
//emlist[例][ruby]{
"abc\u3042\x81".scrub # => "abc\u3042\uFFFD"
"abc\u3042\x81".scrub("*") # => "abc\u3042*"
"abc\u3042\xE3\x80".scrub{|bytes| '<'+bytes.unpack('H*')[0]+'>' } # => "abc\u3042<e380>"
//}
@see String#scrub!...