codecipher.a1z52n62.decode.decoder module¶
- Module
decoder.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
Creates class decoder with cipher A1z52N62 logic.
- class codecipher.a1z52n62.decode.decoder.Decoder(_config: IConfig = <factory>, _strategy: IAlgorithm[IConfig] = <factory>)[source]¶
Bases:
IDecoderDefines class Decoder with attribute(s) and method(s).
It defines:
- attributes:
- _config - Configuration parameters for cipher A1z52N62 logic._strategy - Strategy for cipher A1z52N62 logic._decoded_data - Container for decoded data.
- methods:
- decoded_data - Property method for getting decoded data.decode - Decode data by cipher A1z52N62 logic.
- _abc_impl = <_abc._abc_data object>¶
- _decoded_data: str | None = None¶
- _strategy: IAlgorithm[IConfig]¶
- decode(data: str | None = None) bool[source]¶
Decode data by cipher A1z52N62 logic.
- Parameters:
data (<Optional[str]>) – Data in string format which should to be decoded | None
- Returns:
True (success) | False (fail)
- Return type:
<bool>
- Exceptions:
None
- property decoded_data: str | None¶
Property method for getting decoded data.
- Returns:
Decoded data in string format | None
- Return type:
<Optional[str]>
- Exceptions:
None