|
|
<%= t('exponent') %> (<%= t('bit', bit: a.key.e.num_bytes * 8) %>) :
<%= a.e %>
<%= t('modulus') %> (<%= t('bit', bit: a.key.n.num_bytes * 8) %>) :
<%= a.n.scan(/.{2}/).join(' ') %>
<%= t('hash') %> (SHA-256) :
<%= Base64.decode64(a.public_digest).unpack('H*').join.upcase.scan(/.{2}/).join(' ') %>
<%= t('confirmation') %>
_________________________ | _________________________ | _________________________ |
<%= t('issued_in') %> | <%= t('name') %> | <%= t('signature') %> |
|
|
<%= t('exponent') %> (<%= t('bit', bit: x.key.e.num_bytes * 8) %>) :
<%= x.e %>
<%= t('modulus') %> (<%= t('bit', bit: x.key.n.num_bytes * 8) %>) :
<%= x.n.scan(/.{2}/).join(' ') %>
<%= t('hash') %> (SHA-256) :
<%= Base64.decode64(x.public_digest).unpack('H*').join.upcase.scan(/.{2}/).join(' ') %>
|
|
<%= t('exponent') %> (<%= t('bit', bit: e.key.e.num_bytes * 8) %>) :
<%= e.e %>
<%= t('modulus') %> (<%= t('bit', bit: e.key.n.num_bytes * 8) %>) :
<%= e.n.scan(/.{2}/).join(' ') %>
<%= t('hash') %> (SHA-256) :
<%= Base64.decode64(e.public_digest).unpack('H*').join.upcase.scan(/.{2}/).join(' ') %>
<%= t('confirmation') %>
_________________________ | _________________________ | _________________________ |
<%= t('issued_in') %> | <%= t('name') %> | <%= t('signature') %> |