codecipher.a1z52n62.engine module

Module

a1z52n62.py

Copyright

Copyright (C) 2021 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com> codecipher is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. codecipher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Info

Defines class A1Z52N62 with attribute(s) and method(s).

class codecipher.a1z52n62.engine.A1Z52N62(config: IConfig | None = None, validation_engine: IValidationEngine | None = None, encoder: IEncoder | None = None, decoder: IDecoder | None = None)[source]

Bases: ICipherEngine

Defines class A1Z52N62 with attribute(s) and method(s).

It defines:

attributes:
__config - Configuration for cipher A1Z52N62.
__validation_engine - Engine for data validation.
__encoder - Encoder for cipher A1Z52N62.
__decoder - Decoder for cipher A1Z52N62.
methods:
__init__ - Initializes A1Z52N62 constructor.
encode - Encoding data to A1Z52N62 format.
decode - Decoding data from A1Z52N62 format.
_abc_impl = <_abc._abc_data object>
decode(data: str | None) → str | None[source]

Decoding data from A1Z52N62 format.

Parameters:

data (<Optional[str]>) – Data in string format which should to be decoded | None

Returns:

Decoded data in string format (success) | None (fail)

Return type:

<Optional[str]>

Exceptions:

None

encode(data: str | None) → str | None[source]

Encoding data to A1Z52N62 format.

Parameters:

data (<Optional[str]>) – Data in string format which should to be encoded | None

Returns:

Encoded data in string format (success) | None (fail)

Return type:

<Optional[str]>

Exceptions:

None