Class: Integer Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/hdet-ec-key.rb

Overview

This class is abstract.

Use for hardened index

Returns the self plus 2^31.

Returns:

  • the self plus 2^31

Instance Method Summary collapse

Instance Method Details

#hObject



9
10
11
# File 'lib/hdet-ec-key.rb', line 9

def h
  2**31 + self
end