Search packages, repositories and app categories

rot13 cover
Package detailsv1.0.3

rot13

Flutter package to encode / decode string to ROT13 (rotate by 13 places)

AndroidiOSWebmacOSWindowsLinux
30-day downloads
587
Likes
9
Pub points
140

Install package

flutter pub add rot13

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package for encoding and decoding strings using the ROT13 cipher, which rotates each letter by 13 positions in the alphabet. It is simple to use and ideal for basic obfuscation or educational purposes. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It does not provide cryptographic security but serves as a fun and accessible tool for learning about ciphers and text transformation.

Use cases

  • Text obfuscation in apps
  • Educational tools for cryptography
  • Simple data encoding
  • Fun messaging features
  • Basic string manipulation

Key features

  • Easy-to-use encode/decode methods
  • Cross-platform compatibility
  • No external dependencies
  • Supports both uppercase and lowercase letters
  • Pure Dart implementation

Suitable for

  • Beginner Flutter developers
  • Learning cryptography basics
  • Non-sensitive data encoding
  • Simple app features
  • Educational projects

Considerations

  • Not suitable for secure encryption
  • Does not handle non-alphabetic characters specially
  • Limited to ROT13 algorithm only
  • Not intended for production security use
  • No configuration options

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter package to encode / decode string to ROT13

Getting Started

To use this plugin, add rot13 as a dependency in your pubspec.yaml file.

To Encode / Decode String to ROT13:

  • rot13(String string) - Encode / Decode a string to ROT13

Example

example

import 'package:flutter/material.dart';
import 'package:rot13/rot13.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String rot13Text = "";
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("ROT 13 Demo"),
        ),
        body: SafeArea(
          child: Column(
            children: [
              TextField(
                onChanged: (txt) {
                  setState(() {
                    rot13Text = rot13(txt);
                  });
                },
              ),
              SizedBox(height: 20),
              Text("Output: $rot13Text")
            ],
          ),
        ),
      ),
    );
  }
}

Categories

Source repository

Projects using this package

No data available yet.