
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
GSMEncoder encodes and decodes Ruby Strings to and from the SMS default alphabet. It also supports the default extension table. The default alphabet and it's extension table is defined in GSM 03.38
This is port of Twitter's Java implementation
NOTE: ruby >= 1.9.2 is required
gem install gsm_encoder
require 'gsm_encoder'
# encoding
GSMEncoder.encode 'hello @ world' # => binary string
# decoding
GSMEncoder.decode(GSMEncoder.encode('hi')) # => 'hi'
# can encode?
GSMEncoder.can_encode?('`') # => false
# replaces unsupported chars with '?'
GSMEncoder.encode('`') # => '?'
# replaces unsupported chars with a provided value ' '
GSMEncoder.encode('`', ' ') # => ' '
Added support for Spanish shift
Fixed bug when encoding line feed & carriage return
Adds the ability to provide the character used when encoding unsupported strings
Code cleanup and speedup
Even faster. About 4 times. Many thanks to @dlarrabee
Even faster! Many thanks to @ThomasSevestre
FAQs
Unknown package
We found that gsm_encoder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.