secure_session 1.0.0 secure_session: ^1.0.0 copied to clipboard
A secure session manager for Dart.
secure_session #
Secure stateless cookie session
Installation #
dart pub add secure_session
Usage #
import 'package:secure_session/secure_session.dart';
void main() {
final session = SecureSession(
secret: 'secret',
cookieName: 'cookie',
);
final data = {'key': 'value'};
session.write(data);
final result = session.read();
print(result); // {key: value}
}