All Projects → lwjfork → CodeEditText

lwjfork / CodeEditText

Licence: other
验证码,密码输入框。支持密码、明文展示。背景支持边框、填充、下划线展示。支持自定义背景和文本样式

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CodeEditText

Pinedittextfield
Android library for pin edit text
Stars: ✭ 164 (+556%)
Mutual labels:  password, edittext
Android Complexify
An Android library which makes checking the quality of user's password a breeze.
Stars: ✭ 111 (+344%)
Mutual labels:  password, edittext
Hackers Tool Kit
Its a framework filled with alot of options and hacking tools you use directly in the script from brute forcing to payload making im still adding more stuff i now have another tool out called htkl-lite its hackers-tool-kit just not as big and messy to see updates check on my instagram @tuf_unkn0wn or if there are any problems message me on instagram
Stars: ✭ 211 (+744%)
Mutual labels:  password
vietnamese-password-dicts
Tổng hợp danh sách mật khẩu wifi tiếng Việt sử dụng cho aircrack-ng
Stars: ✭ 40 (+60%)
Mutual labels:  password
Diceware
Passphrases to remember
Stars: ✭ 242 (+868%)
Mutual labels:  password
Password Validator
Validates password according to flexible and intuitive specification
Stars: ✭ 224 (+796%)
Mutual labels:  password
Argon2 Jvm
Argon2 Binding for the JVM
Stars: ✭ 245 (+880%)
Mutual labels:  password
Ladon
大型内网渗透扫描器&Cobalt Strike,Ladon8.9内置120个模块,包含信息收集/存活主机/端口扫描/服务识别/密码爆破/漏洞检测/漏洞利用。漏洞检测含MS17010/SMBGhost/Weblogic/ActiveMQ/Tomcat/Struts2,密码口令爆破(Mysql/Oracle/MSSQL)/FTP/SSH(Linux)/VNC/Windows(IPC/WMI/SMB/Netbios/LDAP/SmbHash/WmiHash/Winrm),远程执行命令(smbexec/wmiexe/psexec/atexec/sshexec/webshell),降权提权Runas、GetSystem,Poc/Exploit,支持Cobalt Strike 3.X-4.0
Stars: ✭ 2,911 (+11544%)
Mutual labels:  password
chrome-thief
A small program, lists all the stored user name and passwords with urls in Google Chrome.
Stars: ✭ 14 (-44%)
Mutual labels:  password
Hatch
Hatch is a brute force tool that is used to brute force most websites
Stars: ✭ 242 (+868%)
Mutual labels:  password
prompt-password-strength
Custom mask function for prompt-password that adds a 'strength progress meter' that changes color as the password strength increases. Uses zxcvbn, the popular password strength estimation tool brought to you by dropbox.
Stars: ✭ 18 (-28%)
Mutual labels:  password
Vault Secrets Gen
A Vault secrets plugin for generating high entropy passwords and passphrases.
Stars: ✭ 238 (+852%)
Mutual labels:  password
Two Factor Auth
Two Factor Authentication Java code implementing the Time-based One-time Password Algorithm
Stars: ✭ 225 (+800%)
Mutual labels:  password
AutoFormatEditText
Android Library for auto-formatting money on EditText
Stars: ✭ 53 (+112%)
Mutual labels:  edittext
React Native Smooth Pincode Input
A cross-platform, smooth, lightweight, customizable PIN code input component for React Native.
Stars: ✭ 216 (+764%)
Mutual labels:  password
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (+36%)
Mutual labels:  edittext
Ad Password Protection
Active Directory password filter featuring breached password checking and custom complexity rules
Stars: ✭ 210 (+740%)
Mutual labels:  password
Oblivion
Data leak checker & OSINT Tool
Stars: ✭ 237 (+848%)
Mutual labels:  password
Strongbox
A secret manager for AWS
Stars: ✭ 243 (+872%)
Mutual labels:  password
mysql-user-db-creator-bash-script
Script to create a mysql database, user and password with just a command
Stars: ✭ 24 (-4%)
Mutual labels:  password

CodeEditText

验证码,密码输入框,文本支持明文和密码及透明三种形式展示,背景支持下划线,填充色块,边框,透明四种

引入

  implementation 'io.github.lwjfork:CodeEditText:1.0.5'
  
<<<<<<< HEAD
=======

>>>>>>> 4ebe4af283c3e57d3b746e6a0f575a5edaece24d

原理

继承EditText,测量宽高后,根据每块间距、EditText的宽度以及可输入最大长度计算出每块区域的left top right bottom

将EditText的背景取消、字体颜色和光标透明不显示,监听输入并根据计算的每块的left top right bottom 自行绘制文本和背景

注意事项(优点)

  1. 此EditText 在输入文本方面没有对除最大长度以外做任何限制,即需要自己控制输入数字、汉字、空格等内容限制
  2. 此EditText 键盘的控制需要自行控制,可以使用系统键盘,也可以自定义键盘

属性讲解

背景样式设置

属性名 属性说明
blockNormalColor 正常状态下的颜色 默认为字体颜色
blockFocusColor 待输入且EditText获取了焦点时颜色 默认值为blockNormalColor
blockErrorColor 错误状态下颜色 默认值为blockNormalColor
blockLineWidth 绘制边框或者下划线的线的宽度 默认1dp
blockSpace 块与块之间的间距 默认0
blockShape 块的样式暂时支持四种 none solid stroke underline 默认值为none
blockShape 属性值 属性说明
none 什么都不绘制,空白
solid 填充色块
stroke 绘制边框
underline 下划线

文本样式设置

属性名 属性说明
codeTextColor 文本或者密码圆点颜色
codeTextSize 文本尺寸,当 codeInputType 为 text 时生效。 默认为12sp
maxCodeLength 输入的最大长度 默认为6
dotRadius 密码圆点半径,当codeInputType为 password 生效。默认为5dp
codeInputType password (密码圆点展示)text 明文展示。 默认text
codeInputType 属性值 属性说明
none 什么都不绘制,空白
text 明文
password 密码圆点展示

代码混淆

  -keep class com.lwjfork.code.** { *;}
  -dontwarn com.lwjfork.code.**

效果图

Change list

1.0.4

  1. fix 当code长度超过6位时,绘制错误

1.0.2

  1. 支持自定义样式,具体参考demo里的 CustomStyleActivity
  2. 添加addCharSequence 方法

1.0.1

  1. 添加 delete 和 addChar 方法 方便自定义键盘
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].