maleo-foundation 0.1.78__py3-none-any.whl → 0.1.79__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ from maleo_foundation.models.transfers.results.encryption.aes import EncryptData
10
10
  from maleo_foundation.utils.exceptions import BaseExceptions
11
11
 
12
12
  class MaleoFoundationAESEncryptionClientService(ClientService):
13
- def encrypt(self, parameters:MaleoFoundationAESEncryptionParametersTransfers.Encrypt) -> MaleoFoundationAESEncryptionResultsTypes.Hash:
13
+ def encrypt(self, parameters:MaleoFoundationAESEncryptionParametersTransfers.Encrypt) -> MaleoFoundationAESEncryptionResultsTypes.Encrypt:
14
14
  """Encrypt a plaintext using AES algorithm."""
15
15
  @BaseExceptions.service_exception_handler(
16
16
  operation="encrypting plaintext",
@@ -11,7 +11,7 @@ from maleo_foundation.utils.exceptions import BaseExceptions
11
11
  from maleo_foundation.utils.loaders.key.rsa import RSAKeyLoader
12
12
 
13
13
  class MaleoFoundationRSAEncryptionClientService(ClientService):
14
- def encrypt(self, parameters:MaleoFoundationRSAEncryptionParametersTransfers.Encrypt) -> MaleoFoundationRSAEncryptionResultsTypes.Hash:
14
+ def encrypt(self, parameters:MaleoFoundationRSAEncryptionParametersTransfers.Encrypt) -> MaleoFoundationRSAEncryptionResultsTypes.Encrypt:
15
15
  """Encrypt a plaintext using RSA algorithm."""
16
16
  @BaseExceptions.service_exception_handler(
17
17
  operation="encrypting plaintext",
@@ -8,5 +8,6 @@ class MaleoFoundationRSAEncryptionParametersTransfers:
8
8
 
9
9
  class Decrypt(
10
10
  MaleoFoundationEncryptionSchemas.Ciphertext,
11
+ MaleoFoundationEncryptionSchemas.Password,
11
12
  MaleoFoundationEncryptionSchemas.Key
12
13
  ): pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.1.78
3
+ Version: 0.1.79
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -11,8 +11,8 @@ maleo_foundation/client/services/key.py,sha256=Av8OFEJO8-Chlu-lRzR4or1qkJ0ahxtiH
11
11
  maleo_foundation/client/services/signature.py,sha256=brEnNPrkeChx0niDgAYCI2HeANQGHpPI6a0lARGCbZ4,4498
12
12
  maleo_foundation/client/services/token.py,sha256=y8iy744znjv2y4sa2Zd3WQhRJThr3pV4Xq2yj1iOGnw,4100
13
13
  maleo_foundation/client/services/encryption/__init__.py,sha256=qK9-RwivJ2xkMIwXI8XM8LmYboRTX6R3G9Nh3RxSdCM,594
14
- maleo_foundation/client/services/encryption/aes.py,sha256=nuj3s5wgU_z3Mrxz03vHCh4nL6rUj32T0C4qk7hOX8E,3453
15
- maleo_foundation/client/services/encryption/rsa.py,sha256=N94pnKos_1j9_wjkJMwYr_C-EU5D2bM8CW0E2uvC_sQ,4701
14
+ maleo_foundation/client/services/encryption/aes.py,sha256=RXsKqza-gETqHhTmULgldYf51_E6KtbTxhtTQroP4jI,3456
15
+ maleo_foundation/client/services/encryption/rsa.py,sha256=pof7uYc9jkLLTrwfoWrkbLNByZW8jYwAbFF5h0nVgfM,4704
16
16
  maleo_foundation/client/services/hash/__init__.py,sha256=A4Olb-RpeNFQEfToU9t8LfZ8e2WXeR8c_grot-JCFjI,756
17
17
  maleo_foundation/client/services/hash/bcrypt.py,sha256=Nb3uU6aOYQr70lvRytqxuGZ1WLv5Va03wUQa4EliguI,2056
18
18
  maleo_foundation/client/services/hash/hmac.py,sha256=baHfk_M0Vjuvlm43Vs5QH2maBA2kHC5CIkC6NyZISwQ,2130
@@ -69,7 +69,7 @@ maleo_foundation/models/transfers/parameters/signature.py,sha256=ysYkALwqNXn13HP
69
69
  maleo_foundation/models/transfers/parameters/token.py,sha256=kIUhz86-9qEiWxZXIva33-iIdHDS9ca-_7SDvgOxitw,623
70
70
  maleo_foundation/models/transfers/parameters/encryption/__init__.py,sha256=w1-J_cVp8vPUVaAkTEpTTZ5S6R2wKxpqKj1Eu2cj-w0,322
71
71
  maleo_foundation/models/transfers/parameters/encryption/aes.py,sha256=c8Wdw_E2CMJQ31JWJg2tJWLlBp75FZJLOv1H8aSARF0,464
72
- maleo_foundation/models/transfers/parameters/encryption/rsa.py,sha256=9OjYjNKTpbc1zQ2FJP_kdQANtZjmyGf7Eft_tzQvDis,401
72
+ maleo_foundation/models/transfers/parameters/encryption/rsa.py,sha256=K40AM8QsngPgaAdnXZ1XuHpRH99UBpURqgZRkosVTsk,452
73
73
  maleo_foundation/models/transfers/parameters/hash/__init__.py,sha256=yBZx9TGBOXQJ6I6VfWwmUtzPBLf2zBb1URIUP9scg60,431
74
74
  maleo_foundation/models/transfers/parameters/hash/bcrypt.py,sha256=BWhapZEb-RrrrP_jki7m3IiSABZE7h6Yv_439Yu0I_0,300
75
75
  maleo_foundation/models/transfers/parameters/hash/hmac.py,sha256=r1Mnzq7pAuJYBGsAkg6VY-y2kzqCPapBJdsvxiO6_JY,392
@@ -105,7 +105,7 @@ maleo_foundation/utils/loaders/json.py,sha256=NsXLq3VZSgzmEf99tV1VtrmiudWdQ8Pzh_
105
105
  maleo_foundation/utils/loaders/yaml.py,sha256=jr8v3BlgmRCMTzdNgKhIYt1tnubaJXcDSSGkKVR8pbw,362
106
106
  maleo_foundation/utils/loaders/key/__init__.py,sha256=G03cA_Oxu02uDsg0WBPfPkIM2uUsxnjwOPgtBKe02kc,110
107
107
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
108
- maleo_foundation-0.1.78.dist-info/METADATA,sha256=OLK-fbgZs6xg5n8xY0CLHELNy8DrixrLZHOp4gTi7LY,3419
109
- maleo_foundation-0.1.78.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
110
- maleo_foundation-0.1.78.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
111
- maleo_foundation-0.1.78.dist-info/RECORD,,
108
+ maleo_foundation-0.1.79.dist-info/METADATA,sha256=jZFcLgPt8X4N9pSmfP9W4hoOa_02gpU-FM9cXRVtnno,3419
109
+ maleo_foundation-0.1.79.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
110
+ maleo_foundation-0.1.79.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
111
+ maleo_foundation-0.1.79.dist-info/RECORD,,