Skip to main content

Wrapper da biblioteca para criptografia de arquivos que trafegam na RSFN

Project description

py RSFN File

Wrapper da biblioteca para criptografia de arquivos que trafegam na RSFN.

Exemplo de uso:

from pathlib import Path

import pyrsfnfile

part_a_cert = Path('part-a.crt').read_bytes()
part_a_key = Path('part-a.key').read_bytes()
part_b_cert = Path('part-b.crt').read_bytes()
part_b_key = Path('part-b.key').read_bytes()

msg = b'Test 123'

encrypt_params = pyrsfnfile.EncryptParams()
encrypted_msg = pyrsfnfile.encrypt(part_a_cert, part_a_key, part_b_cert, encrypt_params, msg)
print(encrypted_msg)

print()

decrypt_params = pyrsfnfile.DecryptParams()
decrypted_msg = pyrsfnfile.decrypt(part_a_cert, part_b_cert, part_b_key, decrypt_params, encrypted_msg)
print(decrypted_msg)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrsfnfile-0.0.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl (830.3 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_i686.whl (881.2 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_armv7l.whl (914.6 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl (826.8 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl (696.7 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ s390x

pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (865.8 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ppc64le

pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (647.4 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARMv7l

pyrsfnfile-0.0.1-cp314-cp314-win_amd64.whl (687.6 kB view details)

Uploaded CPython 3.14Windows x86-64

pyrsfnfile-0.0.1-cp314-cp314-win32.whl (470.2 kB view details)

Uploaded CPython 3.14Windows x86

pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_x86_64.whl (830.8 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_i686.whl (881.4 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ i686

pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_armv7l.whl (915.1 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARMv7l

pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_aarch64.whl (828.5 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (665.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl (698.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ s390x

pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (866.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ppc64le

pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (648.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARMv7l

pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl (724.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.5+ i686

pyrsfnfile-0.0.1-cp314-cp314-macosx_11_0_arm64.whl (605.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pyrsfnfile-0.0.1-cp314-cp314-macosx_10_12_x86_64.whl (654.8 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

File details

Details for the file pyrsfnfile-0.0.1.tar.gz.

File metadata

  • Download URL: pyrsfnfile-0.0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyrsfnfile-0.0.1.tar.gz
Algorithm Hash digest
SHA256 40af9f71bdedb2b9b66c3e3d6f3be46ce07daa6389f01c3b969e7facd7972bdd
MD5 146b4db33170cfbcdbe5a3e52fb731a0
BLAKE2b-256 e31abb7f7cfa206b2495c7777d68318a7eb133ec268c6eb4e3e13520f3553adb

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8bc8d921a297d02af0f6934b11eb74676a4de849c2bab359e528a41ea3faa256
MD5 976a540afafa5c6a2183935a974d0cc6
BLAKE2b-256 9eaedbd03a8c29bf5db6a85814e49ee6bf0b7888e7e3be98289fa94cbed34a8a

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2592e57229e161ae2c5a37ee1957d098a55fa95b152bb78e135bbffe33cbdf77
MD5 d700826459f5debdffae0a21eadf9d3e
BLAKE2b-256 5fdc31b2817a882c1a54a2c525a5758d5c9ee00d62e44c52e2f3c1d30ec50671

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 4b54a4122ff102d0c64d4a626a6c582f68f33ac68651862be4acee4d2215e280
MD5 cd06d1b9ab2a661d1aa5a8261b925e9a
BLAKE2b-256 a15bf8af5dda399aa69e738ddcca0a01cf2dea8a6de885bf8f88e72adb6e5a2a

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 84a8a3cb72a8bf700b6ae6c793f00794d1cfec0efea5892abada6940575f4796
MD5 dc996401b77a46da09503cd122532639
BLAKE2b-256 d6fd08e375a662f073a74f2d1dec22a23f8fd21720b1f87815da98cc977a2658

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 7de728cea92795a5b391b86f129d1c99ab1445cd5f15d49d1c3af01650673a3d
MD5 2b3dda51757ec20257c56734ea448406
BLAKE2b-256 40beeb150cf6ce8f80b8e2b99c6b4ecc71523bb070943acd98ff4f0f987b00dd

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7d2a366d4769924d4da781c262b809287a5d2ffa9dc69fadbe3c113df8c6b0d3
MD5 69c28a1721b249b7f2dc59cc0c72a178
BLAKE2b-256 0fe102150b02c1a767e35f4e4b7560090491b2e4eac9baa6a2da51afdf272cae

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d49ebd2511b0591c4fe3dc97f7b968af6f10a2d8a395d9e51a62c3c2d59ed629
MD5 c18addbabcd4320bd40cbc7e8bc80445
BLAKE2b-256 493dd876b2a3ef592a6198bbde2fe85852d72e71ece42688c05d853a61fb828a

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pyrsfnfile-0.0.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 687.6 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8fea42dbe23143d99d311757690448c25f43b79c6f30037d6aaa1aaf5b43c8c4
MD5 e02247f325d45266e0aee2797a03a4f6
BLAKE2b-256 942d3d792b75500017559498c94b7ff0b6438e16142fee2590f4d214b6081b91

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-win32.whl.

File metadata

  • Download URL: pyrsfnfile-0.0.1-cp314-cp314-win32.whl
  • Upload date:
  • Size: 470.2 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 33baa9b1af0aa155f89999dd436d8bc8fa80ebe430bca00e71ad879ba3272004
MD5 c78638968fbf7aea37641da1692ce6b7
BLAKE2b-256 a2d72eaa18c6b71d6251fa4a142739815de9bfbbd0f054b8f38dcf981f378aa2

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0aa35c6fcf7568887a6452bd7f0c8d35d12de4a49a5288abe8d5d5039d93f47f
MD5 4242a43f04aa20e5c51388a0ac29f566
BLAKE2b-256 2bbe00d3f1fdbd1b47950f4d21581d7d367e1cc7cfdce370acc0b47ef18f734f

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3d5b6421a1c4f80515c6db2bbe6267b3ad704885dbfcaeffe4de294eaa3796d0
MD5 ee1cb4ae0e37d055028ef9e933ccdd36
BLAKE2b-256 43ee63dd36a1c72ef2676e72d37fafaa39ecf969356f16d8f66100e2a363e6f6

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 3348c368bab5fdcadf9d95dbb3eee4d02a3877a2009c1aa8b0f8784754202426
MD5 c2eaf84b7736b5873ab338eafab42d17
BLAKE2b-256 32b49a66f86a34f6aa9004bda0742b6c7c7eb91c8b8c8f50d5cd1c938210decc

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b2cf759e08e44fcc7e3c1ee6f63667e5a92b53be82040837f651ea702f71a76a
MD5 d9532cec48c07905faddf67ca26c7e65
BLAKE2b-256 532f0fa4595a065b5b972e20dd6b137c8ef69b5be568111e58aff1d1a9d8d330

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 527c61335816241f09414fc46b7ce80bab1a6f24acb843063eb956bb27f80262
MD5 ee14eb21273903565264925f8b661dfb
BLAKE2b-256 3779e96d4cb6ae7d389de63ef9730268ed59668eab82539cb2daab27b05de609

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 463db4ec238517b0976704f4c8271056bc21b8c63bf73e6292e103bdb4d12be3
MD5 665c4a5a70ecdf8cec58a0a64edf630d
BLAKE2b-256 3ce364dd37e67833a2cce601bb9cdf027ba68758af248adcae183b23ace006f6

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 ec2b81d369c0fb281cf2768228d2101243d934a1ca24c58b711af2afc04ce70f
MD5 8ae72c44d8a9135d72fc7aaa43dd8528
BLAKE2b-256 9db74885d7a70429431446b91229fb17094f97d06f5e3fc8c3bf3cfcff9259a8

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a5449a9cae5b4928cfd1e6e4d79810abcd4fef8509c63794a346741c02946e52
MD5 b95538f61b51f424f4d9312685e7ad64
BLAKE2b-256 d8f7655be10a14896b2192ccd839018e0e03db3b978c0a6abbc77516d3d24819

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 2313d0b52523cb1b798ae20c119504fbcd1084aee602d7a18e0e906e216c46a2
MD5 c83bad6a63081635387eb37ef339518f
BLAKE2b-256 656a20a70e34454dea5fd818ac9bf2d448c6dd4fce0e64fb907b2da32eebed12

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea4788da3092387e13e74aa5d54513fa6f66f80ea9e6acb1407532a8bd3fcf4a
MD5 2457de10dbc4f2903c58c0bd8a92b786
BLAKE2b-256 cc303fce7ef3eeabdc49efe1acc369cf8bf2ce6842bc22ce2deb8138d67bafad

See more details on using hashes here.

File details

Details for the file pyrsfnfile-0.0.1-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyrsfnfile-0.0.1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65d9ba77896ca878974eff3320f8c9fd170efe7cc1972fc1885661cc71042095
MD5 aa563ea7df540af39d2bcfd0e68c7517
BLAKE2b-256 5480ee24584fe77a4997fd8d6b68f49c4d7914895fe89857a1e4c98ab0ff6632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page