Method: Browser::Window#crypto

Defined in:
opal/browser/crypto.rb

#cryptoCrypto (readonly)

Returns the crypto interface of this window.

Returns:

  • (Crypto)

    the crypto interface of this window



75
76
77
# File 'opal/browser/crypto.rb', line 75

def crypto
  @crypto ||= Crypto.new(`#@native.crypto`)
end