lib/x25519/montgomery_u.rb in x25519-1.0.8 vs lib/x25519/montgomery_u.rb in x25519-1.0.9
- old
+ new
@@ -26,9 +26,9 @@
@bytes
end
# Show hex representation of serialized coordinate in string inspection
def inspect
- "#<#{self.class}:#{@bytes.unpack('H*').first}>"
+ "#<#{self.class}:#{@bytes.unpack1('H*')}>"
end
end
end