Lib implemented in C that calculates and validates CPF using FFI.
Bruno Coimbra
gem "br-cpf", "~> 1.0.1"